/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package mrsudoku;

import java.io.File;
import javax.swing.filechooser.FileFilter;

/**
 *
 * @author hbmh10kr
 */
public class SDFileFilter extends FileFilter
{
     @Override
            public boolean accept(File f)
            {
                if (f.isDirectory())
                {
                    return true;
                }

                

                return f.getName().endsWith(".sdf");



            }

            @Override
            public String getDescription()
            {
                return "Das Sudoku-Datei-Format.";
            }

}
